package com.tengju.user.domain.model.doc;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Author: 李大仙
 * @Date: 2021/4/1 3:26 下午
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SentimentDocument {

    @Field(type = FieldType.Text, analyzer = "ik_max_word")
    private String context;

    @Field(type = FieldType.Keyword)
    private String operator;

    @Field(type = FieldType.Long)
    private Long createTime;
}
